home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
misc
/
amag
/
sh9301c.lha
/
CPlusPlus(S.79)
/
Listing1.cpp
next >
Wrap
C/C++ Source or Header
|
1993-01-22
|
596b
|
24 lines
#include <exec/types.h>
#include <dos/dos.h>
#include <clib/exec_protos.h>
#include <rct/rctdef.h>
#include <clib/rct_protos.h>
#include <rct/rcttagfuncs.h>
#include <iostream.h>
APTR RctBase, app;
void main() {
if ((RctBase = OpenLibrary("rct.library",16)) &&
(app = R_InitApplTags(TAG_DONE)) {
if( R_FormAlertTags( app, RFA_DefaultID, 1L, RFA_AlertText,
"[Wählen Sie Ihre Programmiersprache!][C++|ANSI-C]", TAG_DONE))
cout << "Warum nur ANSI-C?";
else
cout << "Ihre Entscheidung ist goldrichtig!"
R_ExitAppl(app);
CloseLibrary((Library*)RctBase);
}
}